package bean;

// 启动
// sh /usr/local/tomcat/apache-tomcat-8.5.96/bin/startup.sh
// sh /usr/local/tomcat/apache-tomcat-8.5.96/bin/shutdown.sh
// curl 127.0.0.1:8080/index
// /usr/local/tomcat/apache-tomcat-8.5.96/webapps
public class Course {
    public int id;
    private String courseInfo;
    private String week; //x
    private int lessonStart; //y
    private int lessonEnd; //y


    // 新增字段
    private String day_of_week; // 周几
    private String date; // 日期
    private String teacher; // 老师
    private String place; // 地点

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCourseInfo() {
        return courseInfo;
    }

    public void setCourseInfo(String courseInfo) {
        this.courseInfo = courseInfo;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public int getLessonStart() {
        return lessonStart;
    }

    public void setLessonStart(int lessonStart) {
        this.lessonStart = lessonStart;
    }

    public int getLessonEnd() {
        return lessonEnd;
    }

    public void setLessonEnd(int lessonEnd) {
        this.lessonEnd = lessonEnd;
    }



    public String getDay_of_week() {
        return day_of_week;
    }

    public void setDay_of_week(String day_of_week) {
        this.day_of_week = day_of_week;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", courseInfo='" + courseInfo + '\'' +
                ", week='" + week + '\'' +
                ", lessonStart=" + lessonStart +
                ", lessonEnd=" + lessonEnd +
                ", day_of_week='" + day_of_week + '\'' +
                ", date='" + date + '\'' +
                ", teacher='" + teacher + '\'' +
                ", place='" + place + '\'' +
                '}';
    }
}